<!-- 评分等级-黑白名单 -->
<template>
  <div>
    <a-tabs v-model="tab">
      <a-tab-pane :key="1" tab="黑名单"></a-tab-pane>
      <a-tab-pane :key="2" tab="白名单"></a-tab-pane>
    </a-tabs>
    <div v-if="tab===1">
      <BlackList></BlackList>
    </div>
    <div v-if="tab===2">
      <WhiteList></WhiteList>
    </div>
  </div>
</template>
<script>
import BlackList from './BlackList.vue'
import WhiteList from './WhiteList.vue'
export default {
   components: {
    BlackList, WhiteList
  },
  data () {
    return {
      tab: 1
    }
  },
  methods: {
    search () {
      this.$refs.page.search()
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
